package cn.com.hhrcw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2020-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MemberThird implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识:USER_ID+THIRD_TYPE
     */
    @TableId(value = "ID", type = IdType.ID_WORKER_STR)
    private String id;

    @TableField("USER_ID")
    private String userId;

    /**
     * 第三方登录类型（例如wx:微信，qq:QQ登陆，wb:微博）
     */
    @TableField("THIRD_TYPE")
    private String thirdType;

    /**
     * 第三方登陆唯一标识
     */
    @TableField("THIRD_KEY")
    private String thirdKey;
    /**
     * 第三方登陆次标识
     */
    @TableField("THIRD_SECOND_KEY")
    private String thirdSecondKey;

    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    /**
     * 第三方昵称
     */
    @TableField("THIRD_NAME")
    private String thirdName;


}
